<html><head><title>6sense.com Applets: Image Slide Show v2.0</title>
<script language="JavaScript">
<!--
	function open_win(u,w,h) {
		w+=5;h+=8;
		window.open(""+u,"Game",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+w+',height='+h+',screenx='+((screen.availWidth/2)-(w/2))+',screeny='+((screen.availHeight/2)-(h/2)));
	}
//-->
</script>
<base target="_top">
<style TYPE="text/css"><!--
	body {font-family:arial; font-size:11pt; color:#ffffff}
	td   {font-family:arial; font-size:10pt;}
	td.nine {font-family:arial; font-size:9pt;}
	td.eight {font-family:arial; font-size:8pt;}

	A:link 	{text-decoration: none; color:#FFEF55; }
	A:visited { text-decoration: none; color:#FFEF55;}
	A:hover {text-decoration: underline; color: #70FFC0;}
 
	input, textarea, select { font-family: trebuchet, verdana, Arial, geneva; color:#001020;font-size=9pt; background-color:FFFFFF; border-color:#FFF5E0;}
	input.a1 		{ font-family: trebuchet, verdana, Arial, geneva; color=#FFFFFF;font-size=8pt; background-color:309060; border-color:#60C090; font-weight:bold;}
	input.rlite		{ background-color:4080C0; border-color:#4080C0;}
	input.rdark 		{ background-color:003070; border-color:#003070;}
-->
</style>
</head>
<body rightMargin=0 topMargin=0 leftMargin=0 bottomMargin=0>
<center>
<BR><BR>

<table border=0 cellpadding=0 cellspacing=0><tr valign=top>
<td align=center>

<table width=110 border=0 cellpadding=0 cellspacing=0 bgcolor=2060A0><tr>
<td><img src="images/corntl.gif" width=5 height=20 border=0></td>
<td align=center><b>6sense.com</b></td>
<td align=right><img src="images/corntr1.gif" width=5 height=20 border=0></td>
</tr>
<tr valign=top><td><BR></td>
<td align=center><font color=FFEF55><b>
<BR><a href="http://www.6sense.com/applets/default.asp">Home</a>
<BR>
<BR><a href="http://www.6sense.com/applets/flame/flame.asp">Flame 3</a>
<BR><a href="http://www.6sense.com/applets/imgshow/imgshow.asp">ImgShow 2</a>
<BR><a href="http://www.6sense.com/applets/sphere3d/sphere3d.asp">Sphere 3D</a>
<BR><a href="http://www.6sense.com/applets/snowdrift/snowdrift.asp">SnowDrift</a>
<BR><a href="http://www.6sense.com/applets/stargaze/stargaze.asp">StarGaze</a>
<BR><a href="http://www.6sense.com/applets/starzone/starzone.asp">StarZone</a>
<BR>
<BR><a href="http://www.6sense.com/applets/contact.asp">Contact Us</a>
<BR><a href="http://www.6sense.com/applets/links.asp">Links</a>
<BR>
<BR><a href="http://www.6sense.com/applets/info.asp">Info</a>
<BR><a href="http://www.6sense.com/applets/order.asp">Order</a>

<BR><BR>
</td>
<td><BR></td></tr>
<tr valign=bottom>
<td><img src="images/cornbl.gif" width=5 height=20 border=0></td>
<td align=center><b>&nbsp;</b></td>
<td align=right><img src="images/cornbr.gif" width=5 height=20 border=0></td>
</tr>
</table>

</td><td width=10><BR></td>
<td>



<table border=0 cellpadding=0 cellspacing=0 width=500><tr valign=top><td>
<table border=0 cellpadding=0 cellspacing=0><tr bgcolor=004080>

<td ><img src="images/corntl.gif" width=5 height=20 border=0></td>
<td >&nbsp;<b><a href="imgshow.htm">ImgShow 2</a></b>&nbsp;</td>
<td ><img src="images/corntr.gif" width=6 height=20 border=0></td>

<td ><img src="images/corntl.gif" width=5 height=20 border=0></td>
<td >&nbsp;<b><a href="imgshow_param.htm">Parameter</a></b>&nbsp;</td>
<td ><img src="images/corntr.gif" width=6 height=20 border=0></td>

<td ><img src="images/corntl.gif" width=5 height=20 border=0></td>
<td >&nbsp;<b><a href="imgshow_example.htm">Examples</a></b>&nbsp;</td>
<td ><img src="images/corntr.gif" width=6 height=20 border=0></td>

<td bgcolor=2060A0><img src="images/corntl.gif" width=5 height=20 border=0></td>
<td bgcolor=2060A0>&nbsp;<b><a href="imgshow_code.htm">Generate Code</a></b>&nbsp;</td>
<td bgcolor=2060A0><img src="images/corntr.gif" width=6 height=20 border=0></td>

</tr></table>

</td></tr>
<tr><td bgcolor=2060A0><BR></td></tr>


<tr><td bgcolor=4080C0>

<script language="JavaScript"><!--
	function preview(fm){
		gcode(fm);
		str = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+fm.width.value+',height='+fm.height.value;
		previewWindow = window.open("","Preview",str);
//		previewWindow = window.open("","Preview","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=300,height=150");
		previewWindow.document.open();
		previewWindow.document.writeln("<HTML><HEAD><TITLE>Image Show v2.0</TITLE></HEAD>");
		previewWindow.document.writeln("<BODY bgcolor=000000 LEFTMARGIN=0 TOPMARGIN=2 MARGINWIDTH=0 MARGINHEIGHT=0><CENTER>");
		previewWindow.document.writeln(fm.code.value);
		previewWindow.document.writeln("</center></body></head>");
		previewWindow.document.close();
	}
	function linkcheck(fm){
//		if( fm.link.options[fm.link.selectedIndex].value == "on"){
		if( fm.link[0].checked == true){
			fm.maintext.disabled=false;
			fm.mainlink.disabled=false;
			}
		else{
			fm.maintext.disabled=true;
			fm.mainlink.disabled=true;
		}
	}
	function gcode(fm){
		if(fm.width.value==''){fm.width.focus(); alert('Width is missing');return;}
		if(fm.height.value==''){fm.height.focus(); alert('Height is missing');return;}
		if(parseInt(fm.maximages.value)<=0){ fm.maximages.focus(); alert("maximages have to be greater then 0");return;}
		if(parseInt(fm.maxshown.value)<=0){ fm.maxshown.focus(); alert("maxshown have to be greater then 0");return;}
		if(parseInt(fm.maxshown.value)>parseInt(fm.maximages.value)){ fm.maxshown.focus(); alert("maxshown can't be greater then maximages");return;}
		
		str=	'<applet archive=\"imgshow2.jar\" code=\"imgshow2.class\" width='+fm.width.value+' height='+fm.height.value+'>'+
				'\n<param name=\"id_key\" value=\"'+fm.id_key.value+'\">';
				
		if(fm.target.value!="_blank")str=str+'\n<param name=\"target\" value=\"'+fm.target.value+'\">';
		if(fm.texttype.value!="0")str=str+'\n<param name=\"texttype\" value=\"'+fm.texttype.value+'\">';
		if(fm.framecolor.value!="FFFFFF")str=str+'\n<param name=\"framecolor\" value=\"'+fm.framecolor.value+'\">';
		if(fm.bordercolor.value!="FFFFFF")str=str+'\n<param name=\"bordercolor\" value=\"'+fm.bordercolor.value+'\">';
		if(fm.textcolor.value!="323296")str=str+'\n<param name=\"textcolor\" value=\"'+fm.textcolor.value+'\">';
		if(fm.bgcolor.value!="000000")str=str+'\n<param name=\"bgcolor\" value=\"'+fm.bgcolor.value+'\">';

		if(fm.background.value!=""){
			str=str+'\n<param name=\"background\" value=\"'+fm.background.value+'\">'+
					'\n<param name=\"bgalign\" value=\"'+fm.bgalign.value+'\">';
			}
		
		if(fm.maintext.disabled==false){
			if(fm.maintext.value!=''&&fm.mainlink.value==''){fm.mainlink.focus(); alert('Main Link is missing');return;}
			else
			if(fm.mainlink.value!=''&&fm.maintext.value==''){fm.maintext.focus(); alert('Main Text is missing');return;}
			else
			if(fm.mainlink.value!=''&&fm.maintext.value!='')
			str = str+
				'\n<param name=\"maintext\" value=\"'+fm.maintext.value+'\">'+
				'\n<param name=\"mainlink\" value=\"'+fm.mainlink.value+'\">';
		}
		str=str+'\n<param name=\"maximages\" value=\"'+fm.maximages.value+'\">'+
				'\n<param name=\"maxshown\" value=\"'+fm.maxshown.value+'\">';
		i=1;
		tm=fm.image1;
		while(i<=5 && tm.value!=""){
			tm=eval("fm.image"+i);
			if( tm.value.indexOf(".gif") == -1 &&
				tm.value.indexOf(".jpg") == -1 &&
				tm.value.indexOf(".bmp") == -1 &&
				tm.value.indexOf(".png") == -1
				)
				{ tm.focus(); alert("Image "+i+" File name is invalid"); return;}
				
			str = str +'\n<param name=\"img' + i + '\" value=\"' + tm.value + '\">';
			tm=eval("fm.text"+i);
			if(tm.value!="")str = str +'\n<param name=\"text' + i + '\" value=\"' + tm.value + '\">';
			tm=eval("fm.url"+i);
			if(tm.value!="")str = str +'\n<param name=\"url' + i + '\" value=\"' + tm.value + '\">';
			i++;
			tm=eval("fm.image"+i);
		}
		str = str+'\n</applet>';
		
		fm.code.value=str;
	}
--></script>

<form id=form1 name=form1>
<table border=0 cellpadding=3 cellspacing=0 width=100%>
<tr bgcolor=4080C0><td colspan=2> &nbsp;<font color=FFFFFF><b>Required Parameters:</td></tr>
<tr bgcolor=004080><td colspan=2 align=center>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr bgcolor=003070><td><B>ID_Key</b></td><td colspan=3><input name="id_key" size=25 value="6s853137975935159191+6s890667530995822119"></td></tr>
<tr bgcolor=003070>	<td width=20%><B>Width</b></td><td width=30%><input name="width" size=3 maxlength=3 value=500></td>
					<td width=20%><B>Height</b></td><td width=30%><input name="height" size=3 maxlength=3 value=400></td></tr>
<tr bgcolor=003070>	<td width=20%><B>Target</b></td><td colspan=3><select name="target"><option value="_blank">_blank<option value="_top">_top<option value="_parent">_parent<option value="_self">_self</select></td></tr>
</table>
</td></tr>

<tr bgcolor=4080C0><td colspan=2> &nbsp;<font color=FFFFFF><b>Required Parameters: The Images</td></tr>
<tr bgcolor=004080><td colspan=2>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr bgcolor=003070>	<td width=20%><B>Max Images</b></td><td width=30%><input name="maximages" size=3 maxlength=3 value=1></td>
					<td width=20%><B>Max Shown</b></td><td width=30%><input name="maxshown" size=3 maxlength=3 value=1></td></tr>
</table>
<table border=0 cellpadding=2 cellspacing=2 width="100%">

<tr bgcolor=003070 valign=top>
<td width=10 rowspan=3><b>1</b></td>
					<td><b>Image</b></td><td><input name="image1" size=15></td></tr>
<tr bgcolor=003070>	<td>Text</td><td><input name="text1" size=25></td></tr>
<tr bgcolor=003070>	<td>URL</td><td><input name="url1" size=25></td></tr>

<tr bgcolor=003070 valign=top>
<td width=10 rowspan=3><b>2</b></td>
					<td><b>Image</b></td><td><input name="image2" size=15></td></tr>
<tr bgcolor=003070>	<td>Text</td><td><input name="text2" size=25></td></tr>
<tr bgcolor=003070>	<td>URL</td><td><input name="url2" size=25></td></tr>

<tr bgcolor=003070 valign=top>
<td width=10 rowspan=3><b>3</b></td>
					<td><b>Image</b></td><td><input name="image3" size=15></td></tr>
<tr bgcolor=003070>	<td>Text</td><td><input name="text3" size=25></td></tr>
<tr bgcolor=003070>	<td>URL</td><td><input name="url3" size=25></td></tr>

<tr bgcolor=003070 valign=top>
<td width=10 rowspan=3><b>4</b></td>
					<td><b>Image</b></td><td><input name="image4" size=15></td></tr>
<tr bgcolor=003070>	<td>Text</td><td><input name="text4" size=25></td></tr>
<tr bgcolor=003070>	<td>URL</td><td><input name="url4" size=25></td></tr>

<tr bgcolor=003070 valign=top>
<td width=10 rowspan=3><b>5</b></td>
					<td><b>Image</b></td><td><input name="image5" size=15></td></tr>
<tr bgcolor=003070>	<td>Text</td><td><input name="text5" size=25></td></tr>
<tr bgcolor=003070>	<td>URL</td><td><input name="url5" size=25></td></tr>

</table>

</td></tr>

<tr bgcolor=4080C0><td colspan=2> &nbsp;<font color=FFFFFF><b>Optional Text Parameters:</td></tr>
<tr bgcolor=004080><td colspan=2>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr bgcolor=003070>	<td width=20%><B>Border Color</b></td><td width=20%><input name="bordercolor" size=6 maxlength=6 value=FFFFFF></td>
					<td width=30%><B>Frame Color</b></td><td width=30%><input name="framecolor" size=6 maxlength=6 value=FFFFFF></td></tr>
<tr bgcolor=003070>	<td><B>Text Color</b></td><td><input name="textcolor" size=6 maxlength=6 value=323296></td>
					<td><B>Text Type</b></td><td><select name="texttype"><option value="0">0. Normal<option value="1">1. Solid Border<option value="2">2. Floating Border</select></td></tr>
</table>
</td></tr>

<tr bgcolor=4080C0><td colspan=2> &nbsp;<font color=FFFFFF><b>Optional Background Parameters:</td></tr>
<tr bgcolor=004080><td colspan=2>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr bgcolor=003070>	<td width=20%><B>Bg Color</b></td><td width=20%><input name="bgcolor" size=6 maxlength=6 value=000000></td>
					<td width=30%><B>Background Image</b></td><td width=30%><input name="background" size=15></td></tr>
<tr bgcolor=003070>	<td colspan=2><BR></td>
					<td><B>Bg Align</b></td><td><select name="bgalign"><option value="tile">Tile<option value="center">Center<option value="scale">Scale</select></td></tr>
</table>
</td></tr>

<tr bgcolor=4080C0><td colspan=2> &nbsp;<font color=FFFFFF><b>Full Version Parameters:</b> &nbsp; <input class=rlite type=radio name=link value="on" onClick="linkcheck(this.form);">On &nbsp;<input checked class=rlite type=radio name=link value="off" onClick="linkcheck(this.form);">Off</td></tr>
<tr bgcolor=004080><td colspan=2>
<table border=0 cellpadding=2 cellspacing=2 width=100%>
<tr bgcolor=003070><td width=40%><B>Main Text</b></td width=60%><td><input disabled name="maintext" size=30 value="6sense.com"></td></tr>
<tr bgcolor=003070><td width=40%><B>Main Link</b></td width=60%><td><input disabled name="mainlink" size=30 value="http://www.6sense.com"></td></tr>
</table>
</td></tr>

<tr bgcolor=4080C0><td colspan=2 align=center><input class=a1 type=reset value="Reset" id=reset1 name=reset1></td></tr>
<tr bgcolor=004080><td colspan=2 align=center><textarea style="font-size:8pt;color:60FFA0;background:000000" name="code" cols=40 rows=20></textarea></td></tr>
<tr bgcolor=4080C0><td colspan=2 align=center><input class=a1 type=button value="Generate Code" onCLick="gcode(this.form);" id=button1 name=button1> &nbsp; <input class=a1 type=button value="Preview" onCLick="preview(this.form);" id=button2 name=button2></td></tr>
</table>
</form>
</td></tr>
<tr><td bgcolor=4080C0><BR></td></tr>
<tr><td><BR></td></tr>
<tr><td align=center><font color=000000 style="font-size:8pt;">6sense.com Applets &copy 2000 I-Yuan Ion Chen</font></td></tr>
</table><BR><BR>

</td></tr></table></head></body>
